home *** CD-ROM | disk | FTP | other *** search
- ; A1200 SCSI/RAM+ Install Script
- ; Version 1.00
- ; By Gary Nush ----- 23 February 1993
-
- ; Written for use with Commodore's Installer.
-
- (set instldsk "GVP.Install:")
-
- ; ========================
- ; If the user has booted from this floppy, we need to find out
- ; where the usual SYS: partition is. Try a few looks about the system...
- ; Currently looks for WB_3.x:, System3.0:, dh0:, or Workbench3.0:. Ask
- ; user if we can't figure out where s/he boots from, and/or for confirmation.
-
- (set target (getassign "wb_3.x" 'd')) ; Device-only check.
- (if (= target "")
- (set target (getassign "System3.0" 'v'))) ; VolumeName-only check.
- (if (= target "")
- (set target (getassign "Workbench3.0" 'v'))) ; VolumeName-only check.
- (if (= target "")
- (set target (getassign "dh0" 'd'))) ; Device-only check.
- (if (= target "")
- (set target (getassign "System3.0"))) ; Logical assign check.
- (if (= target "")
- (set target (getassign "dh0"))) ; Logical assign check.
-
- ; If we're at Wit's End: -- Welcome to Wit's End, population 1?
- (if (= target "")
- (set target @default-dest) ; default destination
- )
-
- ; Now, make absolutely, positively sure that we go to the right place.
- (set target (askdir (prompt "Which partition do you usually boot from?\n"
- "The required utilities should be installed there.")
- (help @askdir-help)
- (default target)))
-
- ; ====================
- ; This is where the installation occurs:
- ;
-
- (copyfiles (source (tackon instldsk "GVP"))
- (dest (tackon target "GVP"))
- (all)
- (infos)
- (confirm)
- (prompt "Shall I install the GVP support software?")
- (help "This software allows you to configure, control, "
- "and test the A1200 SCSI/RAM+.\n\n"
- @copyfiles-help))
-
- (set @default-dest target)
-